package cn.lili.controller.payment;

import cn.lili.modules.payment.entity.vo.Capture179DataResponse;
import cn.lili.modules.payment.entity.vo.Capture179DataVO;
import cn.lili.modules.payment.service.PaymentDataService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@Api(tags = "支付数据记录表")
@RestController
@RequestMapping("/payment/data")
@RequiredArgsConstructor
public class PaymentDataController {

    private final PaymentDataService paymentDataService;

    @PostMapping("/179/data")
    public Capture179DataResponse capture179Data(@RequestBody Capture179DataVO capture179Data) {
        return paymentDataService.capture179Data(capture179Data);
    }

}
